#pragma once
#include "enemy.h"

class CPlayer;
class CPeon :
	public CEnemy
{
public:
	CPeon();
	CPeon(CPlayer* pTarget);
	~CPeon(void);
	void Render();
	void Update(float fElapsedTime);
	RECT GetRect();
	void HandleEvent(CEvent* pEvent);
	void SetTarget(CPlayer* pTarget);
	void Init();
private:
	CPlayer* m_pTarget;
	tVector2D m_vToTarget;
	int m_nDamage;
	float m_fAttackRate;
};

